{extend name='layout/main' /}

{block name='main'}
<div class="title">添加客户</div>
<div class="form">
    <form  method="post" id="UserForm" >
        <div class="error"></div>
        <div class="success"></div>

        <div>
            <label>
                <span>姓名：</span>
                <span><input type="text" name="custom_name" placeholder="开户姓名"></span>
            </label>
        </div>
        <div>
            <label>
                <span>资金账号：</span>
                <span><input type="text" name="account" placeholder="交易账号"></span>
            </label>
        </div>
        <div>
            <label>
                <span>手机号：</span>
                <span><input type="text" name="phone" placeholder="手机号码"></span>
            </label>
        </div>
        <div>
            <label>
                <span>地址：</span>
                <span><input type="text" name="custom_address" placeholder="地址"></span>
            </label>
        </div>
        <div>
            <label>
                <span>开户时间：</span>
                <span><input type="text" name="reg_time" placeholder="开户时间"></span>
            </label>
        </div>
        <div>
            <label>
                <span>分配：</span>
                <span>
                    <select name="pid">
                        <option value="0">无</option>
                        {foreach $UserList as $it}
                        <option value="{$it.id}">
                           {$it.name} | {$it.company}
                        </option>
                        {/foreach}
                    </select>
                </span>
            </label>
        </div>
        <input type="hidden" value="0" name="update">
        <div>
            <label for="#">
                <span></span>
                <span><input type="button" value="确认添加"></span>
            </label>
        </div>
    </form>
</div>
{/block}

{block name='javascript'}
<script src="/asset/js/allot.js"></script>
{/block}